package za.org.jcicada.cfgmngr.messages;

import java.util.Set;

import za.org.jcicada.genss.ServiceURN;
import za.org.jcicada.genss.SystemURN;
import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;

public class ServiceSetReply extends ReplyMessage {

    /** Class serialization version id. */
    private static final long serialVersionUID = 1L;

    /** System URN. */
    private SystemURN systemURN;

    /** Set of service URNs. */
    private Set<ServiceURN> serviceURNs;

    /**
     * Construct message
     * 
     * @param systemURN the URI of the system
     * @param serviceURNs the set of service URIs for the system
     */
    public ServiceSetReply(Result result, SystemURN systemURN, Set<ServiceURN> serviceURNs) {
        super(result);
        this.systemURN = systemURN;
        this.serviceURNs = serviceURNs;
    }

    public SystemURN getSystemURN() {
        return systemURN;
    }

    public Set<ServiceURN> getServiceURNs() {
        return serviceURNs;
    }

}
